package com.college.heyuhua.service.impl;

import com.college.heyuhua.dao.ThanksMapper;
import com.college.heyuhua.model.Thanks;
import com.college.heyuhua.service.IThanksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 赵东坡 on 2019/2/5.
 * Time:23:27
 * 宇宙无敌赵牛逼，祈求永无bug
 */
@Service
public class ThanksServiceImpl implements IThanksService{

    @Autowired
    private ThanksMapper thanksMapper;

    @Override
    public boolean insertThanksInfo(Thanks thanks) {
        return thanksMapper.insertThanksInfo(thanks);
    }

    @Override
    public Thanks getOneThanks() {
        return thanksMapper.getOneThanks();
    }
}
